package com.jluzh10.learning.service;


import com.github.pagehelper.Page;
import com.github.pagehelper.PageInfo;
import com.jluzh10.learning.domain.CourseGroup;

import java.util.List;

/**
 * @author yzg
 * @create 2019/5/25
 */
public interface CourseGroupService {

    /**
     * 添加一个课程分组
     */
    int add(CourseGroup group) throws Exception;

    List<CourseGroup> findAll(Integer num) throws Exception;
}
